scrolledwindow: Do not round dx/dy to int
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 16 Apr 2015 20:45:54 +0000 (22:45 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 16 Apr 2015 20:45:54 +0000 (22:45 +0200)
commit4eb8157cfa9d74e5ad632117b7109fe39f972eb1
treee6be408504979873c04f4f484eb6bd4e1ca3d1af
parent6d19162c431fc40972165cf2a2d5e0c591ca696f
scrolledwindow: Do not round dx/dy to int

Libinput will use 0.0f on the "scrolling finished" event, so check for this
instead of rounding (<1 values are sort of frequent on touchpads). This
impedes bug #745315 to resurface after commit d563b943ed3.
gtk/gtkscrolledwindow.c